package cn.com.chengmandian.core.tenant.pojo;

import lombok.Data;

import java.util.Map;

@Data
public class LoginUser {

    private Integer tenantId;

    private Integer id;

    private String name;

    private Long expireDate;

    private Map<String, String> attrs;

    public String get(String key) {
        return this.attrs.get(key);
    }

    public void put(String key, String value) {
        this.attrs.put(key, value);
    }
}
